<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro=http://www.pollix.at/thymeleaf/shiro>
<head>
    <meta charset="UTF-8">

    <link rel="stylesheet" th:href="@{/css/login.css}"/>
    <title>Title</title>
</head>
<body>
<h2 id="h">请登录</h2>
<div class="lo">
    <p style="color: red" th:text="${msg}"></p>
    <form th:action="@{/loginl}">
        <table>
            <tr>
                <td >用户名：</td>
                <td>
                    <input type="text" name="name"/>
                </td>

            </tr>
            <tr>
                <td>密码：</td>
                <td>
                    <input type="password" name="password"/>
                </td>
            </tr>
        </table>
        <input type="submit" value="登录" class="btn"/><br>

        <span class="te">还没有账号？</span><a th:href="@{/zhu}" class="zhu">去注册</a>
    </form>
</div>
</body>
</html>